﻿using JTLeigh.Commerce.Spencer.Features.ProductFeedback.Common.Entities;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace JTLeigh.Commerce.Spencer.Features.ProductFeedback.Common.UnitTests.Entities
{

	/// <summary>
	/// Unit tests for the <see cref="ProductRating"/> class.
	/// </summary>
	[TestClass]
	public class ProductRatingFixture
	{

		#region Methods

		#region Constructors

		/// <summary>
		/// Ensures the default constructor initializes the rating attribute values collection.
		/// </summary>
		[TestMethod]
		public void TestConstructor()
		{
			ProductRating rating;

			rating = new ProductRating();
			Assert.IsNotNull(rating.AttributeValues);
			Assert.AreEqual(0, rating.AttributeValues.Count);
		}

		#endregion // Constructors

		#endregion // Methods

	}

}
